package TransactionImplementation

import (
	"SalaryPayment/AbstractTransaction"
	"SalaryPayment/Model"
	"SalaryPayment/ModelImplementation"
)

type ChangeMailTransaction struct {
	AbstractTransaction.ChangeMethodTransaction
	itsAddress string
}

func (c *ChangeMailTransaction) GetMethod() Model.PaymentMethod {
	return ModelImplementation.NewMailMethod(c.itsAddress)
}
